package com.panda.mall.common.mallWares.dto;

import com.panda.mall.common.base.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;

/**
 * author: tcy
 * createDate: 2023/7/19
 * description: 查询
 */
@Data
public class QueryCategoryDto extends BasePageQuery {

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("分类名")
    @Length(max= 40,message="编码长度不能超过40")
    private String categoryName;

}
